define(function (require, exports, module) {
    "require:nomunge,exports:nomunge,module:nomunge";

    var app = require('mokit/app');
    var grid = require('mokit/grid');
    var commonUtils = require('../common/utils');
    var input = require('../common/input.js');

    /**
	 * 登陆页视图
	 */
    return app.view.create({
        template: module.resovleUri('../templates/login.html'),

        el: {
            loginPanel: '.ui-login'
        },

        /**
         * 在呈现时
         */
        onRender: function (context) {
            var self = this;
            grid.use(self.ui);
            input.use(self.el.loginPanel, 80);
        },

        utils: commonUtils

    });

});